/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package event;

import net.sf.appia.core.Event;

/**
 *
 * @author Welington
 */
public class StatusEvent extends Event{
    public static final int ERROR   = 0;
    public static final int SUCCESS = 1;
    
    private int status;
    private String message;
    
    public StatusEvent(int status) {
        this.status = status;
        this.message = "";
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
